<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // JavaScript底层把简单数据类型包装成了复杂数据类型

    /*
    const str="vue"
    console.log(str);
    */
    const str = new String("vue")
    console.log(str);


    /*
    const num=12.6412
    console.log(num)
    */
    const num = new Number(12.6421)
    console.log(num);

    /*
    const flag=true
    console.log(flag);
    */
    const flag = new Boolean(false)
    console.log(flag);

    /*
    const big=10n
    console.log(big);
    */
    const big=BigInt(10)
    console.log(big);

  </script>
</body>

</html>